﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WowParserLib.Events;
using WowParserLib.Events.SuffixArgs;

namespace WowParserLib.Events
{
    public class SpellAuraDispelled: SpellEvent
    {
        AuraDispelledArgs _arg;

        protected override void initialize(params EventArguments[] args)
        {
            base.initialize(args);
            foreach (EventArguments arg in args)
            {
                if (arg is AuraDispelledArgs)
                {
                    _arg = arg as AuraDispelledArgs;
                }
            }
        }

        public override string ToString()
        {
            return base.ToString() + _arg.SpellName + "(" + _arg.SpellSchool +") " + _arg.AuraType;
        }
        protected override int getDamage()
        {
            return 0;
        }
    }
}
